import http from '@/service/http'
import type * as T from '@/types/api/index'
const photoListApi: T.IPhotoListApi = {
  list(data) {
    return http.post('/admin/PhotoList/list', data)
  },
  editPrivate(data) {
    return http.post('/admin/PhotoList/editprivate', data)
  },
  detail(data) {
    return http.post('/admin/PhotoList/detail', data)
  },
  buyList(data) {
    return http.post('/admin/PhotoList/buyList', data)
  },
  add(data) {
    return http.post('/admin/PhotoList/add', data)
  },
  edit(data) {
    return http.post('/admin/PhotoList/edit', data)
  },
  dels(data) {
    return http.post('/admin/PhotoList/dels', data)
  }
}

export default photoListApi
